package com.Jshop.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableDiscoveryClient //注册中心客户端
@EnableZuulProxy  //开启zuul网关
public class JshopGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(JshopGatewayApplication.class,args);
    }
}
